package cn.hasayam.test3;

import android.content.Intent;
import android.os.Bundle;
import android.app.Activity;

public class WindowActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Intent intent = new Intent(WindowActivity.this,WindowService.class);
        startService(intent);
        finish();

    }

}
